import axios from "axios"


function loginApi(data) {
    return axios({
      'url': '/customer/login',
      'method': 'post',
      data
    })
}
function sendMsgApi(data) {
    return axios({
        'url':'/customer/sendMsg',
        'method':'post',
        data
    })
}


function logoutApi() {
  return axios({
    'url': '/customer/logout',
    'method': 'post',
  })
}

export {  
  loginApi,logoutApi,sendMsgApi
}  